package GGS2;

public class Phone {
    public String name;
    public int prise;

    public void setName(String name) {
        this.name = name;
    }

    public static void main(String[] args) {
        //实例化对象
        Phone phone = new Phone();
        phone.name = "huawei";
        System.out.println(phone.name);
        System.out.println();
    }
}



